<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/admintop.jsp"%>
<%@ include file="/jsp/jscommom.jsp"%>
<%@ include file="/jsp/viewtop.jsp"%>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>新闻修改</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	<script type="text/javascript">
function domethod(method){


if(document.all.postName.value==""){
alert("岗位不能为空!");
return;
}



document.all.method.value=method;
document.forms[0].submit();
document.all.method.value="";
}

</script>
	<body height="1000">
		<html:form action="/system/admin/stationmanage/editsubsta"
			method="post">
			<html:hidden property="method" />
			<html:hidden property="subStaId" />
			<div align="center">
				<table width="880" border="0" align="center" cellpadding="0"
					cellspacing="1" class="line1">
					<tr>
						<td class="titlebg" colspan="4">
							修改岗位配置
						</td>
					</tr>

					<tr>
						<td class="mtdtitle1">
							岗位名称
						</td>
						<td class="mtdtextleft">
							<html:text property="postName" styleClass="input1"></html:text>
						</td>

						<td class="mtdtitle1">
							状态
						</td>
						<td class="mtdtextleft">
							<html:select property="status" styleClass="input1">
								<html:option value="1">
									有效
								</html:option>
								<html:option value="0">
									无效
								</html:option>
							</html:select>
						</td>
					</tr>



					<tr>
						<td colspan="4" class="mtdtitle1">
							<input type="button" onclick="domethod('edit')" value="修改"
								class="tbutton" />
							<input type="reset" class="tbutton" value="重置" />
							<input type="button" onclick="window.close();" value="关闭"
								class="tbutton" />
							<input type="button" onclick="domethod('del')" value="删除"
								class="tbutton" />
						</td>
					</tr>
				</table>
			</div>
		</html:form>
	</body>
</html>
